package com.bc.mes.device.service;

import com.bc.mes.common.api.CommonResult;
import com.bc.mes.common.dto.dv.DvMachineryTypeParam;
import com.bc.mes.mbg.model.dv.DvMachineryType;

import java.util.List;

public interface DvMachineryTypeService {
    CommonResult<List<DvMachineryType>> list(String machineryTypeName,String enableFlag);

    CommonResult<DvMachineryType> selectById(Long id);

    int update(DvMachineryTypeParam dvMachineryTypeParam);

    int insert(DvMachineryTypeParam dvMachineryTypeParam);

    CommonResult delete(Long id);
}
